import App from './App'
import {noMultipleClicks,ts,ymmd,ymmdBtn,jumpComPage} from "@/utils/com.js"
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'

export function createApp() {
	
	const app = createSSRApp(App)
	app.config.globalProperties.productionTip = false
	app.config.globalProperties.$ymmdBtn = ymmdBtn
	app.config.globalProperties.$noMultipleClicks = noMultipleClicks
	app.config.globalProperties.$ts =ts
	app.config.globalProperties.$ymmd = ymmd

	return {
		app
	}
}
// #endif